package com.yhgm.model.dto.department;

import com.yhgm.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 用户查询请求
 *
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DepartmentQueryRequest extends PageRequest implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 部门负责人id
     */
    private Long userId;

    /**
     * 上级部门id
     */
    private Long pid;

    private static final long serialVersionUID = 1L;
}